
#include "stdafx.h"
#include "Win32Demo.h"
#include "QvRandom.h"

int APIENTRY _tWinMain(HINSTANCE hInstance, HINSTANCE, LPTSTR, int nCmdShow)
{
    GameWindow mainForm;
    mainForm.Create();
    mainForm.ResizeTo(1024, 640, 1);
    mainForm.SetTitle(L"OpenGL ES v1.1 Demo");
    mainForm.CenterScreen();
    mainForm.EnableMaxButton(0);
    mainForm.Show();
    QvNativeWindow::ThreadMsgLoop(&mainForm);

    QvRandom random;
    int i = random.NextInt(-10, 10);
    return 0;
}

